class T_Box_Video_Reply;

#ifndef T_BOX_VIDEO_REPLY_H
#define T_BOX_VIDEO_REPLY_H

#include <QObject>

#include "t_box_downloader.h"

class T_Box_Video_Reply : public QObject
{
    Q_OBJECT
public:
    explicit T_Box_Video_Reply(T_Box_Downloader *a_parent, QString a_id);

public:
    QString f_id;
    QString f_title;
    qint64  f_view_count;
    QString f_token;
    QMap<int, QUrl> f_fmt_map;

signals:
    void finished();

protected slots:
    void self_emit_finished();
    void self_on_reply_finished();

protected:
    T_Box_Downloader *f_parent;
    QNetworkReply *f_reply_0;
    QNetworkReply *f_reply_1;
    QNetworkReply *f_reply_2;
};

#endif // T_BOX_VIDEO_REPLY_H
